import request from '@/utils/request'

// 学生注册
export function stuRegister(data) {
  return request({
    url: '/student/register',
    method: 'post',
    data: data
  })
}
// 根据校区获取课程顾问
export function getAdviser(schoolId) {
  return request({
    url: '/student/Adviser/listAdviser/' + schoolId,
    method: 'get'
  })
}

// 查询所有校区列表(用于下拉列表)
export function getListSchool() {
  return request({
    url: '/school/school/listSchoolAll',
    method: 'get'
  })
}

// 查询所有来源类型(用于下拉列表)
export function getListSource() {
  return request({
    url: '/student/source/listSource',
    method: 'get'
  })
}
